package sendmsginterfacelogic

import (
	"context"

	"dfx_cmdb/cmdb-sendmsg-rpc/internal/svc"
	"dfx_cmdb/cmdb-sendmsg-rpc/types/cmdb-database-sync"

	"github.com/zeromicro/go-zero/core/logx"
)

type SendMsgLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewSendMsgLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendMsgLogic {
	return &SendMsgLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

// SendMsg 根据指定的发送方式发送消息
func (l *SendMsgLogic) SendMsg(in *cmdb_database_sync.SendMsgRequest) (*cmdb_database_sync.PublicMsgResponse, error) {
	// todo: add your logic here and delete this line
	
	return &cmdb_database_sync.PublicMsgResponse{}, nil
}
